<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>自定义登录页</title>
    <link href="https://www.layuicdn.com/layui-v2.5.6/css/layui.css">
</head>
<body>
<form action="/user/login" method="post">
    <input type="hidden"th:if="${_csrf}!=null" th:value="${_csrf.token}"name="_csrf"/>
    用户名：<input type="text" id="userName" name="username"><br>
    密 码：<input type="text" id="passWord" name="password"><br>
    <input type="submit" value="登录">
    记住我： <input type="checkbox" name="remember-me" title="记住密码"/><br/>
</form>
</body>
</html>